home *** CD-ROM | disk | FTP | other *** search
- echo off
- if .%1 == . goto error
- cls
- echo V_INST.BAT
- echo ----------
- echo .
- echo This batch file will install VPIC onto your %1 hard drive.
- echo .
- echo You will need approximately 500 K available on your hard drive
- echo to install everything.
- echo .
- echo Do you wish to install VPIC files onto your %1 hard drive?
- echo .
- echo PRESS 'Y' FOR YES
- echo 'N' FOR NO
- echo .
- \utils\ask -t20 -u Your Response?:
- if ERRORLEVEL 89 goto yes
- goto quit
- :yes
-
- \utils\killdir %1\VPIC r auto > nul
- mkdir %1\VPIC > nul
-
- echo Uncompressing files to the %1 drive.
- echo This may take a minute...
-
- copy \utils\vpic51e.zip %1\vpic > nul
- copy \utils\unzip.exe %1\vpic > nul
- copy \view.exe %1\vpic > nul
- \utils\make_go %1
- %1
- cd \vpic
- unzip -qq vpic51e.zip > nul
- del unzip.exe > nul
- echo yy | whichvga
-
- goto quit
- :error
- echo "Usage: v_inst <DRIVE LETTER:>"
- echo .
- echo Example: to install VPIC onto your C: drive, use "V_INST C:"
- :quit
- echo on